#include "ConcreteCommand.h"
#include <iostream>

namespace Command{
    void ConcreteCommand::execute() {
        std::cout << "concreteCommand do execute" << std::endl;
        this->receiver->action();
    }

    ConcreteCommand::ConcreteCommand(Receiver *receiver) {
        this->receiver = receiver;
    }
}
